package cn.com.yusys.yusp.admin.repository.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.com.yusys.yusp.commons.dto.def.ContrBean;
import cn.com.yusys.yusp.commons.dto.def.DataContrDTO;
import cn.com.yusys.yusp.commons.dto.def.MenuBean;


public interface UserCacheMapper {

	public List<ContrBean> selectAllContr();

	public List<MenuBean> selectMenu(@Param("loginCode") String loginCode, @Param("sysId") String sysId,@Param("roleId") String roleId);

	public List<ContrBean> selectUserContr(@Param("loginCode") String loginCode, @Param("sysId") String sysId,@Param("roleId") String roleId);
	
	public List<Map<String,Object>> selectUserInfo(@Param("loginCode") String loginCode, @Param("sysId") String sysId);

	public List<DataContrDTO> selectDataAuthList(@Param("loginCode") String loginCode, @Param("sysId") String sysId);

}	
